View Issue Details

IDProjectCategoryView StatusLast Update
0000569T99X171.00 SKB EagleSW Issuepublic2019-05-15 10:29
Reporter(ALTech) SY Yoon Assigned To(ALTech) SY Yoon Due Date2019-03-25 18:49
PriorityhighSeveritys2-severeReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000569: Video should not show during Auto Reset
DescriptionTV Storm asked us to check auto Reset function.
During Auto Reset there is no video signal to TV. But now after reboot TV shows Btv Logo.
Please check it and fix it.

-----------------------------------------------------------------------------------------------------------------------------------------------------
Document from TV Storm (SKB_ATV_Development_Guide_for_Foxconn_20190115_v1.0.pptx)

Page 4 Auto Reset Guide
      - Ability to cold boot the STB without knowing the user in a specific situation (decided by App)

       - The TV screen should not come out from the bootloader, the TV should not be turned on by CEC control.
          STB must be in standby mode when booting is completed.

       - Operation
         1. App issues the reboot command
              “system_reset” command is inserted in reboot command as below
               reboot system_reset
         2. The Boot loader from manufacturer checks “system_reset”
               If it is confirmed to be an auto reset, do not display the TV screen from the bootloader.
                => Currently TV shows Btv Logo. It should be no video signal during boot by system_reset.
               Set "sys.skb.auto_reset" to true in the System property when amlogic driver is loading.
                => It works well.
         3. Middleware checks sys.skb.auto_reset to disable cec.
         4. UI App checks sys.skb.auto_reset property to switch STB to standby mode, and initializes sys.skb.auto_reset value

TagsBFS-118 , BFS-119
Attach Tags

Relationships

related to 0000567 closed(Amlogic) Jingyu Xu T99X171.00 SKB Eagle_Vendor_Issue HDMI Output during the Active Standby 

Users monitoring this issue

User List (ALTech) Eric Kim , (ALTech) Jewoo Lee , (SW) Jim Chen , (SW) Kerwin Chen

Activities

(SW) Jerry Lin

2019-03-22 17:49

developer   ~0001676

Hi Yoon ,
The issue has been committed and will be added in the next FW release.

Thanks.

(SW) Jerry Lin

2019-03-26 21:10

developer   ~0001711

Included in 3/26 FW release

(SW) Jerry Lin

2019-03-26 21:12

developer   ~0001713

 Included in 3/25 FW release

(ALTech) SY Yoon

2019-03-27 13:35

developer   ~0001733

Last edited: 2019-03-27 16:24

I test it with "reboot system_reset" command.
What my scenario is as follows :
1. Power off (Go to Standby, Green LED On - OK)
2. Input "reboot system_reset"
3. STB reboots with HDMI output with Black screen, but we need no HDMI output.(Issue)
    If there is no HDMI Output, then TV show some message, like "no signal".
    During Reboot STB turn on White LED and start blink.(OK)
4. After boot, LED turn green LED on.(OK)
5. Press power on button after boot process, then TV turn on and show Home menu.
    But there is no TV screen. TV keeps black screen.(issue)

HDMI should be off instead of black screen.

(SW) Jacky Chiang

2019-03-28 14:42

manager   ~0001762

Hi Mr. Yoon,

  Please check Mantis 0000567 and AML and TVS will do modification for active standby mode which SKB defined.
Once the modification is finished, I think this issue will be closed as well.

(ALTech) SY Yoon

2019-04-03 09:47

developer   ~0001844

Hi, Jacky,

We checked it with current SW version(r7).
After auto reset, STB is stop or waiting for HDMI related command during the boot.
So booting time is too long. And after Green LED on, I press power button of RCU, then LED changed to white, but No video.
I plug out and in of HDMI, then we can see android logo and show home menu.

TV S think that it may have problem on HDMI initialize during boot.
Mr. Jason know about it.
Could you check it ?

(SW) Jerry Lin

2019-04-10 13:42

developer   ~0001956

Hi Mr. Yoon,
We can reproduce this problem and are currently asking AML the best solution.

(SW) Jerry Lin

2019-04-11 13:54    private

developer   ~0001988

Update boot flow and issues

(SW) Jerry Lin

2019-04-16 18:23

developer   ~0002018

Last edited: 2019-04-16 18:24

Hi Mr.Yoon ,
The fix of the issue has been added to 4/15 FW release ( V15.502.12 ).
We find two issues in V15.502.12. You can refer to the attached file for this issue.
The name of file is reboot_sys_reset_flow.pptx.

Issue 1:
We find the library "tvcontextmanager/libtvs_jnisystem.so " to enable HDMI output by setDisplayResolution() function.

Issue 2:
 Press power on button after boot process, then TV turn on and show Home menu. But there is no TV screen. TV keeps black screen.
--> If the Issue 1 is solved , please help to confirm issue 2.

(ALTech) SY Yoon

2019-04-16 21:56

developer   ~0002024

We received feedback from TVS today.
Their test result is fail due to following issue.
1. STB show screen shortly between reboot and Standby
    Expected : Standby - system_reset - Stnadby (NO TV Screen)
    Test Result : Standby - system_reset - Show TV Screen(some advertisement) - Standby(No TV Screen)
2. Rebooting time is too long(sometimes)
     Please see the log. It takes about 1 min. from the start to time to print "boot_completed"
     Normally it takes 1 40 seconds.
     The time when Home UI is created is 47 sec. So it looks some trouble during Android boot.
     And there are some messages during 46 seconds as follows.
                04-16 16:17:24.260 E 3000 3053 MesonHwc: wait for vsync fail

Please check it and fix it.

(SW) Jacky Chiang

2019-04-17 12:33

manager   ~0002059

Last edited: 2019-04-17 12:34

Hi Jerry,

   Please sync with Kerwin and he will help you to communicate with TVS to clarify this issue.

Hi Kerwin,

   Please help on this in Seoul.

(ALTech) SY Yoon

2019-04-23 23:35

developer   ~0002157

AMLOGIC told us that it is checking with Foxconn.
There are 2 issue.
1. During the boot, TV shows it screen about 2 sec. It should not show.
2. It takes too long for boot.
Please let us know it's status.

(SW) Dixon Chen

2019-04-24 11:04

developer   ~0002165

AMLOGIC has provided patches for us, but it still does not fix these 2 issues.

(SW) Jacky Chiang

2019-04-24 20:28

manager   ~0002182

Hi Jim,

   Please ask Amlogic Jinyu to give you patch for issue 1.

Hi Kerwin, Dixon,

  Please find Mega to have solution for issue 2 which is related HDCP authentication time.

(SW) Jacky Chiang

2019-04-30 12:21

manager   ~0002311

Hi River,

  Per talked in the meeting, please update the latest status.

(SW) River Wong

2019-04-30 12:54

developer   ~0002315

Hi Yoon,

Issue 1: Amlogic Matt is helping on this issue.
Issue 2: We are can reproduce this issue and is debugging this issue now.

(SW) River Wong

2019-05-07 20:02

developer   ~0002420

Hi Yoon,

We got Amlogic' patches for these two issues. We will include these two fixes in V15.502.17.

Issue1: The root cause is HDMI is enabled again at booting up, It is fixed by making sure to properly disable HDMI Phy when doing auto reset.
Issue2: The root cause is system server is waiting for initialization of random driver. We enable Hardware random number generator to make sure random driver can initialized earlier at kernel boot up and will not block system server initialization.

(ALTech) SY Yoon

2019-05-08 16:23

developer   ~0002439

Hi River,

Did you test it with AML patch ?
I would like to know your test result, include booting time when Auto reset.

(SW) River Wong

2019-05-08 16:45

developer   ~0002441

Hi Yoon,

I tested AML patch and it will be included in V15.502.17.
The booting time form first line of logcat message to boot complete:
Auto reset without patch: about 60 seconds (Some TV may even be 3 minutes)
Auto reset with patch: about 22~26 seconds
Normal boot without patch: about 31~37 seconds

(ALTech) SY Yoon

2019-05-08 18:24

developer   ~0002444

Please provide test version.

(SW) River Wong

2019-05-14 09:03

developer   ~0002513

Last edited: 2019-05-14 09:03

Hi Yoon,

The extra issue (issue 3 below) in Jira https://jira.skbroadband.com/browse/BFS-118 is also fixed in V15.502.20.
1.Show TV Screen during boot for 1 ~ 2 sec. (Fixed in V15.502.17)
2.Long Booting time. (Fixed in V15.502.17)
3.TV did not show TV Screen when press Power button after reboot. But if I reconnect the HDMI cable, then it show. (Fixed in V15.502.20)
The root cause of issue 3 is that the standby/resume vednor APIs are not well implemented, so system sometimes can not receive HDMI hotplug event to redo HDMI configuration.

(ALTech) SY Yoon

2019-05-15 10:29

developer   ~0002532

I checked it on V15.502.20.
It fixed

Issue History

Date Modified Username Field Change
2019-03-20 18:11 (ALTech) SY Yoon New Issue
2019-03-20 18:11 (ALTech) SY Yoon Status new => assigned
2019-03-20 18:11 (ALTech) SY Yoon Assigned To => (SW) Jacky Chiang
2019-03-20 18:11 (ALTech) SY Yoon Issue Monitored: (ALTech) Jewoo Lee
2019-03-20 18:12 (ALTech) SY Yoon Issue Monitored: (ALTech) Eric Kim
2019-03-20 18:12 (ALTech) SY Yoon Issue Monitored: (SW) Jim Chen
2019-03-21 08:33 (SW) Jerry Lin Assigned To (SW) Jacky Chiang => (SW) Jerry Lin
2019-03-22 17:49 (SW) Jerry Lin Note Added: 0001676
2019-03-26 21:10 (SW) Jerry Lin Note Added: 0001711
2019-03-26 21:11 (SW) Jerry Lin Assigned To (SW) Jerry Lin => (ALTech) SY Yoon
2019-03-26 21:12 (SW) Jerry Lin Status assigned => resolved
2019-03-26 21:12 (SW) Jerry Lin Resolution open => fixed
2019-03-26 21:12 (SW) Jerry Lin Note Added: 0001713
2019-03-27 13:35 (ALTech) SY Yoon Note Added: 0001733
2019-03-27 14:38 (ALTech) SY Yoon Note Edited: 0001733
2019-03-27 16:24 (ALTech) SY Yoon Note Edited: 0001733
2019-03-28 14:38 (SW) Jacky Chiang Relationship added related to 0000567
2019-03-28 14:42 (SW) Jacky Chiang Note Added: 0001762
2019-03-28 14:42 (SW) Jacky Chiang Assigned To (ALTech) SY Yoon => (SW) Jerry Lin
2019-03-28 14:42 (SW) Jacky Chiang Status resolved => acknowledged
2019-04-03 09:47 (ALTech) SY Yoon Note Added: 0001844
2019-04-10 13:42 (SW) Jerry Lin Note Added: 0001956
2019-04-11 13:54 (SW) Jerry Lin File Added: reboot_sys_reset_flow.pptx
2019-04-11 13:54 (SW) Jerry Lin Note Added: 0001988
2019-04-11 14:37 (SW) Jerry Lin Note View State: 0001988: private
2019-04-16 18:23 (SW) Jerry Lin Note Added: 0002018
2019-04-16 18:24 (SW) Jerry Lin Note Edited: 0002018
2019-04-16 19:41 (SW) Jerry Lin Assigned To (SW) Jerry Lin => (ALTech) SY Yoon
2019-04-16 21:47 (ALTech) SY Yoon Assigned To (ALTech) SY Yoon => (SW) Jerry Lin
2019-04-16 21:56 (ALTech) SY Yoon File Added: logcat_auto_reset_1.txt.zip
2019-04-16 21:56 (ALTech) SY Yoon Note Added: 0002024
2019-04-17 12:33 (SW) Jacky Chiang Note Added: 0002059
2019-04-17 12:33 (SW) Jacky Chiang Issue Monitored: (SW) Kerwin Chen
2019-04-17 12:34 (SW) Jacky Chiang Note Edited: 0002059
2019-04-23 09:55 (SW) Kerwin Chen Assigned To (SW) Jerry Lin => (SW) Dixon Chen
2019-04-23 23:35 (ALTech) SY Yoon Note Added: 0002157
2019-04-24 11:04 (SW) Dixon Chen Note Added: 0002165
2019-04-24 20:28 (SW) Jacky Chiang Note Added: 0002182
2019-04-25 14:20 (ALTech) Jewoo Lee Tag Attached: BFS-118
2019-04-25 14:27 (ALTech) Jewoo Lee Tag Attached: BFS-119
2019-04-29 13:52 (SW) Kerwin Chen Category SW => SW Issue
2019-04-29 15:17 (SW) River Wong Assigned To (SW) Dixon Chen => (SW) River Wong
2019-04-30 12:21 (SW) Jacky Chiang Note Added: 0002311
2019-04-30 12:54 (SW) River Wong Note Added: 0002315
2019-05-07 20:02 (SW) River Wong Note Added: 0002420
2019-05-07 20:02 (SW) River Wong Assigned To (SW) River Wong => (ALTech) SY Yoon
2019-05-08 16:23 (ALTech) SY Yoon Note Added: 0002439
2019-05-08 16:45 (SW) River Wong Note Added: 0002441
2019-05-08 18:24 (ALTech) SY Yoon Note Added: 0002444
2019-05-14 09:03 (SW) River Wong Note Added: 0002513
2019-05-14 09:03 (SW) River Wong Note Edited: 0002513
2019-05-15 10:29 (ALTech) SY Yoon Status acknowledged => closed
2019-05-15 10:29 (ALTech) SY Yoon Note Added: 0002532